package com.tea.service.impl;

import com.tea.dao.AdminDao;
import com.tea.service.AdminService;

public class AdminServiceImpl implements AdminService {
    private AdminDao adminDao = new AdminDao();

    @Override
    public boolean validate(String username, String password) {
        // 调用AdminDao验证管理员用户名密码
        return adminDao.validate(username, password);
    }
}